Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Patches


Q3NURBPatch_SetControlPoint

You can use the Q3NURBPatch_SetControlPoint function to set a control point for a NURB patch.

TQ3Status Q3NURBPatch_SetControlPoint (
TQ3GeometryObject nurbPatch, 
unsigned long rowIndex, 
unsigned long columnIndex, 
const TQ3RationalPoint4D *point4D);
nurbPatch
A NURB patch.
rowIndex
A row index into the array of control points for the specified NURB patch.
columnIndex
A column index into the array of control points for the specified NURB patch.
point4D
The desired four-dimensional control point.
DESCRIPTION
The Q3NURBPatch_SetControlPoint function sets the four-dimensional control point having the row and column indices rowIndex and columnIndex in the controlPoints array of control points of the NURB patch specified by the nurbPatch parameter to the point specified by the point4D parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996